﻿class com.hatch.effects.odometer.DynamicCharacter extends MovieClip
{
	
	// ON STAGE
	var textBox;
	
	
	// CLASS PROPERTIES
	
	

	// DELEGATES


	// EVENT DISPATCHERS
	



	
	/* *********************************************************
	*  CONSTRUCTOR
	*  *********************************************************/

	
	function DynamicCharacter()
	{
		initialize();
	}


	private function initialize():Void
	{
		textBox.autoSize = "center";
	} 



	/* *********************************************************
	*  PUBLIC METHODS
	*  *********************************************************/
	public function setValue(value:String):Void
	{
		//trace("DynamicCharacter :: setValue() :: value = " + value);
		textBox.text = value;
		
		if(value == undefined)
		{
			textBox.text = " ";
		}
	}
	
	/* *********************************************************
	*  PRIVATE METHODS
	*  *********************************************************/


	/* *********************************************************
	*  EVENT HANDLERS
	*  *********************************************************/



	/* *********************************************************
	*  GETTERS/SETTERS
	*  *********************************************************/    
	
};